package cdu.sl.pojo.vo;



import lombok.*;

import java.time.Instant;

@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class LoginVO {

    private Long id;

    private String username;

    private String realname;

    private Byte age;

    private Byte gender;

    private String phoneNumber;

    private Instant createdAt;

    private Instant updateAt;

    private String avatar;

    private Long schoolId;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 班级id
     */
    private Long classId;

    /**
     * 年级
     */
    private Integer grade;

    /**
     * 班级 1代表1班
     */
    private Integer classVal;

    /**
     * 用户角色 0：班主任 1：校管理员 2：教育局管理员
     */
    private Integer role;

    private String token;

}
